package com.bawei.detail.api

import com.bawei.http.HttpManager
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
class DetailApiModel {

    @Provides
    @Singleton
    fun getHomeService(): DetailApiServer{
        return HttpManager.instance.getRetrofit().create(DetailApiServer::class.java)
    }


}